package com.sky.mapper;

import com.sky.entity.RouteAdmin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface RouteAdminMapper {

    /**
     * 根据id查询
     * @param adminId 商家id
     * @return RouteAdmin
     */
    @Select("select * from route_admin where id = #{adminId}")
    RouteAdmin getById(Long adminId);
}
